@layout("/layout/_form.html",{js:["/assets/modular/business/rules/rule_add.js"]}){

<form class="layui-form" id="ruleForm" lay-filter="ruleForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="ruleId" id="ruleId" type="hidden"/>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label layui-form-required">规则名称</label>
                        <div class="layui-input-block">
                            <input name="ruleCode" id="ruleCode" placeholder="请输入规则名称" type="text" class="layui-input" lay-verify="required" required autocomplete="off"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">信息</label>
                        <div class="layui-input-block">
                            <textarea id="ruleMeta" name="ruleMeta" placeholder="请输入信息" class="layui-textarea"></textarea>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">特征码</label>
                        <div class="layui-input-block">
                            <textarea id="ruleStrings" name="ruleStrings" placeholder="请输入特征码" class="layui-textarea"></textarea>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">条件</label>
                        <div class="layui-input-block">
                            <textarea id="ruleCondition" name="ruleCondition" placeholder="请输入条件" class="layui-textarea"></textarea>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn layui-btn-normal" lay-filter="btnSubmit"  lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}
